package com.ruoyi.Specificmode.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 情景动作对象 specificmode
 * 
 * @author ruoyi
 * @date 2024-06-30
 */
public class Specificmode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String deviceStatus;

    /** 模式id */
    @Excel(name = "模式id")
    private Long modeId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceStatus(String deviceStatus) 
    {
        this.deviceStatus = deviceStatus;
    }

    public String getDeviceStatus() 
    {
        return deviceStatus;
    }
    public void setModeId(Long modeId) 
    {
        this.modeId = modeId;
    }

    public Long getModeId() 
    {
        return modeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("deviceStatus", getDeviceStatus())
            .append("modeId", getModeId())
            .toString();
    }
}
